package com.ktg.mes.chanjet.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.util.List;

@Data
public class QueryOrderVo {

    @ApiModelProperty("开始行")
    private int start;

    @ApiModelProperty("返回行数")
    private int rows;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("付费时间开始时间")
    private String payTimeFrom;

    @ApiModelProperty("付费时间结束时间")
    private String payTimeTo;

    @ApiModelProperty("单据ID")
    private int vourcherId;

    @ApiModelProperty("单据编号")
    private String vourcherCode;

    @ApiModelProperty("外部单据编号")
    private String externalCode;

    @ApiModelProperty("页大小")
    private int pageSize;


    @ApiModelProperty("页码")
    private int pageIndex;

    @ApiModelProperty("返回的字段")
    private List<String> selectFields;


    /**
     * "paramDic": {
     *         "SaleOrder.VoucherDate": [{
     *                 "text": "2021-10-01",
     *                 "value": "2021-10-01"
     *             }, {
     *                 "text": "2021-10-05",
     *                 "value": "2021-10-05"
     *             }
     *         ]
     *     }
     */
    @ApiModelProperty("查询条件")
    private Object paramDic;
}
